package com.jinke.api.modules.ums.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.jinke.api.modules.base.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 后台用户表
 * </p>
 *
 * @author macro
 * @since 2020-08-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("user_channel")
@ApiModel(value = "UserChannel", description = "UserChannel")
public class UserChannel extends BaseEntity implements Serializable {
    private Integer userId;
    private Integer channelId;
    @ApiModelProperty("运输服务平台ID")
    private Integer channelPlatformId;
    @ApiModelProperty("货运商ID")
    private Integer channelCarrierId;
    @ApiModelProperty(value = "溢价比例")
    private BigDecimal rate;
    @ApiModelProperty(value = "溢价")
    private BigDecimal price;
    private Integer isBest;

    private Integer platformRate;

}
